<?php
    $this->headTitle('News Category','append');            
?>
<div class="row-fluid page-head">
    <h2 class="page-title"><i class="fontello-icon-monitor"></i> Danh mục tin tức <small>Xoá Danh Mục</small></h2>
    <p class="pagedesc">Bạn có chắc chắn muốn xoá?</p>
    <div class="page-bar">
        <div class="btn-toolbar"> </div>
    </div>
</div>
<!-- // page head -->

<div id="page-content" class="page-content">    
    <nav>
        &nbsp;
    </nav>
    <section>
        <div class="row-fluid margin-bottom16">
            <div class="span12">
                <div class="widget widget-simple widget-table">
                    <table id="table-newsCategories" class="table boo-table table-striped table-content table-hover">
                        <thead>
                            <tr>                                
                                <th scope="col">Name <span class="column-sorter"></span></th>
                                <th scope="col">Order <span class="column-sorter"></span></th>
                                <th scope="col">Display <span class="column-sorter"></span></th>
                                <th scope="col">Func <span class="column-sorter"></span></th>
                            </tr>
                        </thead>
                        <tbody>                            
                            <tr>                                    
                                <td>
                                    <?php                                   
                                    	if($this->newsCatCheck['parent'] != 0)                                                                                            
                                            echo $this->newsCatCheck['parent_name'].' &gt; ';
                                        echo $this->newsCatCheck['name'];                                        
                                    ?>                                                                                                                
                                </td>
                                <td><?php echo $this->newsCatCheck['ord'];?></td>
                                <td>
                                    <?php                                        
                                        if($this->newsCatCheck['display'] == 1){
                                            echo '<a class="btn btn-mini btn-glyph btn-green"><i class="fontello-icon-ok-2"></i></a>';
                                        }else{
                                            echo '<a class="btn btn-mini btn-glyph btn-red"><i class="fontello-icon-cancel-2"></i></a>';
                                        }                                        
                                    ?>
                                </td>
                                <td>
                                    <form method="post">                                                                                                                                        
                                        <input type="hidden" name="newsCatId" value="<?php echo $this->newsCatCheck['id']; ?>"/> 
                                        <input type="submit" class="btn btn-orange" name="del" value="Có" class="cursor-pointer"/>
                                        <input type="submit" class="btn btn-red" name="del" value="Không" class="cursor-pointer"/>                                                                                
                                    </form>                                    
                                </td>
                            </tr>                                                        
                        </tbody>
                    </table>
                    <!-- // DATATABLE -->
                </div>
            </div>
        </div>                            
    </section>    
</div>
<!-- // page content -->